Legend:
x is X (left) coordinate, y is Y (top) coordinate, w is Width and h is Height, all of x, y, w and h are v|n.
#v|n is the Object ID and is in the range [1...999]
Returns 0 if the given checkbox is unchecked and 1 if it is checked
Opens the Palm OS standard color selector window, and returns the selected color
Notes:
Returns on which object an event occurred (if one occurred)
| Return Value | Comment | KEYEVENTS Required |
| -24, -23, -22, -21 | App Key #4, #3, #2, #1 | ON |
| -13 | HotSync Button on Cradle | ON | PARTIAL |
| -12 | Page Down Button | ON | PARTIAL |
| -11 | Page Up Button | ON | PARTIAL |
| -10 | Power On/Off Button | ON | PARTIAL |
| -1 | ExitAppRequest | |
| 0 | No event | |
| #v|n in [1..999] | Object that was clicked (Button, CheckBox, ListChoice, PopupChoice, PushButton, ScrollBar or TextSelector) | |
| 1000 | Pen event (get related information from the PENDOWN, PENX and PENY functions) | |
| 1001 | Menu event (get related information from the MENUITEM function) | |
| 1002 | ABOUTBOX event (for information back to your program) | |
Notes:
REPEAT
E=DOEVENTS
[Statement]
UNTIL E<0
Opens the Palm OS standard font selector window, and returns the selected font
Notes:
0 stdFont
1 boldFont
7 largeBoldFont
Returns the width in pixels of the c|t text for a given font v|n
Notes:
Returns the object ID that has the focus
Returns the last menu item ID which was selected during the last menu event, 0 if the menu was just opened or -1 if the menu was just closed
Notes:
MESSAGEBOX(c|t1 [+ c|t2 [+ c|t3]], v|n)
Pops up a message window, with a choice of return buttons given by v|n, and returns the button pressed (1=first , 2=second, ...)
Notes:
0= Done
1= OK
2= OK|Cancel
3= Yes|No
4= 1|2
5= 1|2|3
6= 1|2|3|4
7= 1|2|3|4|5
8= 1|2|3|4|5|6
9= 1|2|3|4|5|6|7
Pops up a message window, with a choice of return buttons given by v|n, and returns the button pressed (1=first , 2=second, ...) or 0 if the message resource does not exist.
The message has to be defined at design time, which is the main difference with MESSAGEBOX.
Notes:
Returns 1 when pen is down and 0 when pen is up
Notes:
Returns X position of where the pen was last ticked on the screen
PENY
Returns Y position of where the pen was last ticked on the screen
Notes:
Returns the status of a push button: 0=not pushed or 1=pushed
Returns the position of the scroll car of a scrollbar, in the [1...100] range
Returns the selected item (0=non selected, 1=first , 2=second, ...) of the last LISTCHOICE or POPUPCHOICE event
Notes:
Returns the same values as DOEVENTS (except for the 0=no event value)
Notes:
A=WAITEVENT
is equivalent to
REPEAT : A=DOEVENTS : UNTIL A<>0
Opens the Palm OS standard date selector window, and returns the selected date
Notes:
Retrieves the value stored in a NumField or a TextField
Notes:
Opens the Palm OS standard time selector window, and returns the selected time
Notes: